package com.aiatomic.couting.scan;

import android.graphics.RectF;

public class ScanDrawable {
	public int sensitive;
	public float x;
	public float y;
	public float width;
	public float height;
	public boolean touched;
	public boolean isUserAdded;
	public ScanDrawable() {
	}

	public ScanDrawable(int sensitive, int x, int y, int width, int height) {
		super();
		this.sensitive = sensitive;
		this.x = x;
		this.y = y;
		this.width = width;
		this.height = height;
	}

	public RectF getBound(){
		return new RectF(x-width/2, y-height/2, x+width/2, y+height/2);
	}
}
